home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2008 April
/
PCWorld_2008-04_cd.bin
/
v cisle
/
updatestar
/
UpdateStar_Web_ENU.msi
/
DetailsXsl
< prev
next >
Wrap
Extensible Markup Language
|
2007-12-07
|
32KB
|
983 lines
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="details/stylepath"></xsl:template>
<xsl:template match="details/language"></xsl:template>
<xsl:template match="details/largefont"></xsl:template>
<xsl:variable name="language"><xsl:value-of select="details/language"/></xsl:variable>
<xsl:variable name="largefont"><xsl:value-of select="details/largefont"/></xsl:variable>
<xsl:variable name="stylepathorig"><xsl:value-of select="details/stylepath"/></xsl:variable>
<xsl:variable name="stylepath"><xsl:copy-of select="$stylepathorig"/>\img\</xsl:variable>
<xsl:variable name="iname"><xsl:value-of select="details/software/installed/name"/></xsl:variable>
<xsl:variable name="iversion"><xsl:value-of select="details/software/installed/version"/></xsl:variable>
<xsl:variable name="ipublisher"><xsl:value-of select="details/software/installed/publisher"/></xsl:variable>
<xsl:variable name="irequirements"><xsl:value-of select="details/software/installed/requirements"/></xsl:variable>
<xsl:variable name="ilincense"><xsl:value-of select="details/software/installed/license"/></xsl:variable>
<xsl:variable name="icontact"><xsl:value-of select="details/software/installed/contact"/></xsl:variable>
<xsl:variable name="ihelplink"><xsl:value-of select="details/software/installed/helplink"/></xsl:variable>
<xsl:variable name="itelephone"><xsl:value-of select="details/software/installed/telephone"/></xsl:variable>
<xsl:variable name="ireadme1"><xsl:value-of select="details/software/installed/readme/display"/></xsl:variable>
<xsl:variable name="ireadme2"><xsl:value-of select="details/software/installed/readme/cmd"/></xsl:variable>
<xsl:variable name="iupdates"><xsl:value-of select="details/software/installed/updates"/></xsl:variable>
<xsl:variable name="icomment"><xsl:value-of select="details/software/installed/comment"/></xsl:variable>
<xsl:variable name="idate"><xsl:value-of select="details/software/installed/date"/></xsl:variable>
<xsl:variable name="isize"><xsl:value-of select="details/software/installed/size"/></xsl:variable>
<xsl:variable name="iuninstall"><xsl:value-of select="details/software/installed/uninstall"/></xsl:variable>
<xsl:variable name="irepair"><xsl:value-of select="details/software/installed/repair"/></xsl:variable>
<xsl:variable name="imodify"><xsl:value-of select="details/software/installed/modify"/></xsl:variable>
<xsl:variable name="idesciption"><xsl:value-of select="details/software/installed/description"/></xsl:variable>
<xsl:variable name="ishortdescr"><xsl:value-of select="details/software/installed/shortdescr"/></xsl:variable>
<xsl:variable name="icategory"><xsl:value-of select="details/software/installed/category"/></xsl:variable>
<xsl:variable name="ibuybuttons"><xsl:value-of select="details/software/installed/BuyButtons"/></xsl:variable>
<xsl:variable name="iprodkey"><xsl:value-of select="details/software/installed/prodkey"/></xsl:variable>
<xsl:variable name="idownloadbuttons"><xsl:value-of select="details/software/installed/DownloadButtons"/></xsl:variable>
<xsl:template match="details/software/update/version"></xsl:template>
<xsl:template match="details/software/update/size"></xsl:template>
<xsl:variable name="uversion"><xsl:value-of select="details/software/update/version"/></xsl:variable>
<xsl:variable name="usize"><xsl:value-of select="details/software/update/size"/></xsl:variable>
<xsl:template match="details/software">
<html><head>
<xsl:element name="link">
<xsl:attribute name="href"><xsl:copy-of select="$stylepathorig"/>\style.css</xsl:attribute>
<xsl:attribute name="rel">stylesheet</xsl:attribute>
<xsl:attribute name="type">text/css</xsl:attribute>
</xsl:element>
<xsl:if test="$largefont='yes'">
<style type="text/css">
td {
font-size: 16px;
}
td.desc{
font-size:13px;
}
td.normal{
font-size:13px;
}
a.sublink{
font-size:11px;
font-weight:bold;
}
</style>
</xsl:if>
<!--
<xsl:element name="SCRIPT">
<xsl:attribute name="language">JavaScript</xsl:attribute>
<xsl:attribute name="SRC"><xsl:copy-of select="$stylepathorig"/>\<xsl:copy-of select="$language"/>.js</xsl:attribute>
</xsl:element>
<xsl:element name="SCRIPT">
<xsl:attribute name="language">JavaScript</xsl:attribute>
<xsl:attribute name="SRC"><xsl:copy-of select="$stylepathorig"/>\slang.js</xsl:attribute>
</xsl:element>
-->
<xsl:element name="SCRIPT">
<xsl:attribute name="language">JavaScript</xsl:attribute>
function translate(){
for (newalt in sfields) {
if(document.getElementById(newalt) ){
if(document.getElementById(newalt).alt){//image
document.getElementById(newalt).alt=sfields[newalt];
}else if(document.getElementById(newalt).value == ""){//input
document.getElementById(newalt).value=sfields[newalt];
}else{
document.getElementById(newalt).innerHTML=sfields[newalt];//default div element
}
}
if(document.getElementById(newalt + "_" + 0)){
document.getElementById(newalt + "_" + 0).innerHTML=sfields[newalt];
}
if(document.getElementById(newalt + "_" + 1)){
document.getElementById(newalt + "_" + 1).innerHTML=sfields[newalt];
}
if(document.getElementById(newalt + "_" + 2)){
document.getElementById(newalt + "_" + 2).innerHTML=sfields[newalt];
}
if(document.getElementById(newalt + "_" + 3)){
document.getElementById(newalt + "_" + 3).innerHTML=sfields[newalt];
}
if(document.getElementById(newalt + "_" + 4)){
document.getElementById(newalt + "_" + 4).innerHTML=sfields[newalt];
}
if(document.getElementById(newalt + "_" + 5)){
document.getElementById(newalt + "_" + 5).innerHTML=sfields[newalt];
}
}
}
var sfields = new Array();
//start
sfields["str_noupdate"] = "No Updates Available";
sfields["str_yesupdate"] = "Updates Available!";
sfields["str_lastscan"] = "Last Update Scan:";
sfields["str_foundprogs"] = "Programs found:";
sfields["str_foundupdates"] = "Updates found:";
sfields["searchbutton"] = "Search for Updates";
sfields["listbutton"] = "Program List";
sfields["str_availupdates"] = "Updates Available:";
sfields["str_availvers"] = "Version:";
sfields["str_availnews"] = "News:";
//details
sfields["str_pname"] = "Product name:";
sfields["str_publisher"] = "Publisher:";
sfields["str_category"] = "Category:";
sfields["str_license"] = "License:";
sfields["str_irequirements"] = "System requirements:";
sfields["str_iversion"] = "Installed Version:";
sfields["str_uversion"] = "Current Version:";
sfields["str_management"] = "Administration:";
sfields["str_info"] = "Info";
sfields["str_sdesc"] = "Short description:";
sfields["str_desc"] = "Description:";
sfields["str_download"] = "Download";
sfields["str_buynow"] = "Buy now";
sfields["str_buyfrom"] = "from ";
sfields["str_errlink"] = "incorrect link";
sfields["str_sendupdate"] = "Send Update";
sfields["sendupdate"] = "Send Update";
sfields["alt_uninstall"] = "Uninstall ";
sfields["alt_repair"] = "Repair";
sfields["alt_modify"] = "Modify";
sfields["str_newstitle"] = "Title";
sfields["str_newsdata"] = "Date";
</xsl:element>
<xsl:if test="$language='1031'">
<script type="text/javascript">
//start
sfields["str_noupdate"] = "Keine Updates verfⁿgbar";
sfields["str_yesupdate"] = "Updates verfⁿgbar!";
sfields["str_lastscan"] = "Letzter Update-Scan:";
sfields["str_foundprogs"] = "Gefundene Programme:";
sfields["str_foundupdates"] = "Gefundene Updates:";
sfields["searchbutton"] = "Updates suchen";
sfields["listbutton"] = "Programmliste";
sfields["str_availupdates"] = "Verfⁿgbare Updates:";
sfields["str_availvers"] = "Aktuelle Version:";
sfields["str_availnews"] = "Verfⁿgbare Meldungen:";
//details
sfields["str_pname"] = "Produktname:";
sfields["str_publisher"] = "Hersteller:";
sfields["str_category"] = "Produktkategorie:";
sfields["str_irequirements"] = "Systemanforderungen:";
sfields["str_license"] = "Lizenz:";
sfields["str_iversion"] = "Installierte Version:";
sfields["str_uversion"] = "Aktuelle Version:";
sfields["str_management"] = "Verwaltung:";
sfields["str_info"] = "Info";
sfields["str_sdesc"] = "Kurze Beschreibung:";
sfields["str_desc"] = "Beschreibung:";
sfields["str_download"] = "Download";
sfields["str_buynow"] = "Jetzt kaufen";
sfields["str_buyfrom"] = "von ";
sfields["str_errlink"] = "Link ist falsch";
sfields["str_sendupdate"] = "Update senden";
sfields["sendupdate"] = "Update senden";
sfields["alt_uninstall"] = "Deinstallieren ";
sfields["alt_repair"] = "Reparieren";
sfields["alt_modify"] = "─ndern";
//news
sfields["str_newstitle"] = "Titel";
sfields["str_newsdata"] = "Datum";
</script>
</xsl:if>
</head>
<body onload="if(window.translate)translate(); ">
<xsl:element name="SCRIPT">
<xsl:attribute name="language">JavaScript</xsl:attribute>
</xsl:element>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="padding-left: 10px; padding-right:10px; padding-top:10px; padding-bottom:10px;" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="100%" >
<tr>
<td class="status_greenl" id="nameleft"><xsl:copy-of select="$iname"/></td>
<td class="status_greenr" id="nameright">
<xsl:element name="img">
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
<xsl:attribute name="width">19</xsl:attribute>
<xsl:attribute name="height">23</xsl:attribute>
</xsl:element>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" style="padding-left: 10px; padding-right:10px;padding-top:10px; padding-bottom:10px;" >
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="tl">
<xsl:element name="img">
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
<xsl:attribute name="width">2</xsl:attribute>
<xsl:attribute name="height">2</xsl:attribute>
</xsl:element>
</td><td class="tm" width="100%"></td>
<td class="tr">
<xsl:element name="img">
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/shim.gif</xsl:attribute>
<xsl:attribute name="width">2</xsl:attribute>
<xsl:attribute name="height">2</xsl:attribute>
</xsl:element>
</td>
</tr>
<tr>
<td class="ml"></td>
<td width="100%" class="wbox">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
<tr><td valign="top">
<xsl:apply-templates />
<xsl:if test="update">
<script type="text/javascript">
document.getElementById('nameleft').className='status_redl';
document.getElementById('nameright').className='status_redr';
</script>
</xsl:if>
</td></tr>
</table>
</td>
<td class="mr"></td>
</tr>
<tr>
<td class="ml"></td>
<td valign="top" class="wbox">
<xsl:element name="img">
<xsl:attribute name="border">0</xsl:attribute>
<xsl:attribute name="align">right</xsl:attribute>
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>star.gif</xsl:attribute>
</xsl:element>
</td>
<td class="mr"></td>
</tr>
<tr>
<td class="bl">
<xsl:element name="img">
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
<xsl:attribute name="width">2</xsl:attribute>
<xsl:attribute name="height">2</xsl:attribute>
</xsl:element>
</td>
<td class="bm"></td>
<td class="br">
<xsl:element name="img">
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/img/tbl/shim.gif</xsl:attribute>
<xsl:attribute name="width">2</xsl:attribute>
<xsl:attribute name="height">2</xsl:attribute>
</xsl:element>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
</xsl:template>
<xsl:template match="installed">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<TR>
<TD width="150">
<xsl:element name="img">
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>/tbl/cshim.gif</xsl:attribute>
<xsl:attribute name="width">150</xsl:attribute>
<xsl:attribute name="height">1</xsl:attribute>
</xsl:element>
</TD>
<TD width="100%"></TD>
</TR>
<TR><TD colspan="2">
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<TR>
<TD class="normal" valign="top"><xsl:copy-of select="$ishortdescr"/></TD>
<TD style="text-align: right;" valign="top"><xsl:copy-of select="$sumbitupdate"/></TD>
</TR>
<TR>
<TD colspan="2" style="text-align: right;" height="10" valign="top"></TD>
</TR>
</table>
</TD></TR>
<xsl:if test="not($ipublisher='')"><TR><TD class="desc"><div id="str_publisher">.</div></TD><TD class="normal"><xsl:copy-of select="$ipublisher"/></TD></TR></xsl:if>
<xsl:if test="not($icategory='')"><TR><TD class="desc"><div id="str_category">.</div></TD><TD class="normal"><xsl:copy-of select="$icategory"/></TD></TR></xsl:if>
<xsl:if test="not($irequirements='')"><TR><TD class="desc"><div id="str_irequirements">.</div></TD><TD class="normal"><xsl:copy-of select="$irequirements"/></TD></TR></xsl:if>
<xsl:if test="not($ilincense='')"><TR><TD class="desc"><div id="str_license">.</div></TD><TD class="normal"><xsl:copy-of select="$ilincense"/></TD></TR></xsl:if>
<xsl:if test="not($iversion='')">
<TR>
<TD class="desc"><div id="str_iversion">.</div></TD>
<TD class="normal">
<xsl:copy-of select="$iversion"/>
</TD>
</TR>
</xsl:if>
<xsl:if test="not($uversion='')">
<TR>
<TD class="desc"><div id="str_uversion">.</div></TD>
<TD class="normal">
<b><xsl:copy-of select="$uversion"/></b>
</TD>
</TR>
</xsl:if>
<xsl:if test="$uversion=''">
<TR>
<TD class="desc"><div id="str_uversion">.</div></TD>
<TD class="normal">
<xsl:copy-of select="$iversion"/>
</TD>
</TR>
</xsl:if>
<xsl:for-each select="DownloadButtons">
<xsl:if test="DownloadButton">
<TR><td></td><TD style="padding-left:5px"><TABLE border="0" cellpadding="5" cellspacing="0"><TR><xsl:apply-templates/></TR></TABLE></TD></TR>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="BuyButtons">
<xsl:if test="BuyButton">
<TR><td></td><TD style="padding-left:5px"><TABLE border="0" cellpadding="5" cellspacing="0"><TR><xsl:apply-templates/></TR></TABLE></TD></TR>
</xsl:if>
</xsl:for-each>
<TR>
<TD class="desc"><div id="str_management">.</div></TD>
<TD>
<table border="0" cellspacing="5" cellpadding="0">
<tr>
<xsl:if test="not($iuninstall='')">
<td style="padding-left:5px">
<table border="0" cellpadding="0" cellspacing="0" width="150">
<tr>
<td class="uninstall">
<xsl:element name="a">
<xsl:attribute name="href">javascript:window.external.Uninstall('<xsl:copy-of select="$iuninstall"/>');</xsl:attribute>
<xsl:element name="img">
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
<xsl:attribute name="width">40</xsl:attribute>
<xsl:attribute name="height">42</xsl:attribute>
<xsl:attribute name="border">0</xsl:attribute>
<xsl:attribute name="alt"><xsl:value-of select="DisplayUrl"/></xsl:attribute>
</xsl:element>
</xsl:element>
</td>
<td class="middle2" width="100%">
<xsl:element name="a">
<xsl:attribute name="href">javascript:window.external.Uninstall('<xsl:copy-of select="$iuninstall"/>');</xsl:attribute>
<xsl:attribute name="class">middle2</xsl:attribute>
<xsl:element name="div">
<xsl:attribute name="id">alt_uninstall</xsl:attribute>
.
</xsl:element>
</xsl:element>
</td>
<td class="right2">
<xsl:element name="img">
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
<xsl:attribute name="width">10</xsl:attribute>
<xsl:attribute name="height">42</xsl:attribute>
</xsl:element>
</td>
</tr>
</table>
</td>
</xsl:if>
<xsl:if test="not($irepair='')">
<td style="padding-left:5px">
<table border="0" cellpadding="0" cellspacing="0" width="150">
<tr>
<td class="repair">
<xsl:element name="a">
<xsl:attribute name="href">javascript:window.external.Repair('<xsl:copy-of select="$irepair"/>');</xsl:attribute>
<xsl:element name="img">
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
<xsl:attribute name="width">40</xsl:attribute>
<xsl:attribute name="height">42</xsl:attribute>
<xsl:attribute name="border">0</xsl:attribute>
<xsl:attribute name="alt"><xsl:value-of select="DisplayUrl"/></xsl:attribute>
</xsl:element>
</xsl:element>
</td>
<td class="middle2" width="100%">
<xsl:element name="a">
<xsl:attribute name="href">javascript:window.external.Repair('<xsl:copy-of select="$irepair"/>');</xsl:attribute>
<xsl:attribute name="class">middle2</xsl:attribute>
<xsl:element name="div">
<xsl:attribute name="id">alt_repair</xsl:attribute>
.
</xsl:element>
</xsl:element>
</td>
<td class="right2">
<xsl:element name="img">
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
<xsl:attribute name="width">10</xsl:attribute>
<xsl:attribute name="height">42</xsl:attribute>
</xsl:element>
</td>
</tr>
</table>
</td>
</xsl:if>
<xsl:if test="not($imodify='')">
<td style="padding-left:5px">
<table border="0" cellpadding="0" cellspacing="0" width="150">
<tr>
<td class="repair">
<xsl:element name="a">
<xsl:attribute name="href">javascript:window.external.Modify('<xsl:copy-of select="$imodify"/>');</xsl:attribute>
<xsl:element name="img">
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
<xsl:attribute name="width">40</xsl:attribute>
<xsl:attribute name="height">42</xsl:attribute>
<xsl:attribute name="border">0</xsl:attribute>
<xsl:attribute name="alt"><xsl:value-of select="DisplayUrl"/></xsl:attribute>
</xsl:element>
</xsl:element>
</td>
<td class="middle2" width="100%">
<xsl:element name="a">
<xsl:attribute name="href">javascript:window.external.Modify('<xsl:copy-of select="$imodify"/>');</xsl:attribute>
<xsl:attribute name="class">middle2</xsl:attribute>
<xsl:element name="div">
<xsl:attribute name="id">alt_modify</xsl:attribute>
.
</xsl:element>
</xsl:element>
</td>
<td class="right2">
<xsl:element name="img">
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
<xsl:attribute name="width">10</xsl:attribute>
<xsl:attribute name="height">42</xsl:attribute>
</xsl:element>
</td>
</tr>
</table>
</td>
</xsl:if>
</tr>
</table>
</TD>
</TR>
<xsl:for-each select="InfoButtons">
<xsl:if test="InfoButton">
<TR><TD></TD><TD style="padding-left:5px"><TABLE border="0" cellpadding="5" cellspacing="0"><TR><xsl:apply-templates/></TR></TABLE></TD></TR>
</xsl:if>
</xsl:for-each>
<xsl:if test="not($idesciption='')"><TR><TD class="desc"><div id="str_desc">.</div></TD><TD class="normal"><xsl:copy-of select="$idesciption"/></TD></TR></xsl:if>
</table>
</xsl:template>
<xsl:template match="details/software/installed/name"></xsl:template>
<xsl:template match="details/software/installed/version"></xsl:template>
<xsl:template match="details/software/installed/publisher"></xsl:template>
<xsl:template match="details/software/installed/contact"></xsl:template>
<xsl:template match="details/software/installed/helplink"></xsl:template>
<xsl:template match="details/software/installed/telephone"></xsl:template>
<xsl:template match="details/software/installed/readme/display"></xsl:template>
<xsl:template match="details/software/installed/readme/cmd"></xsl:template>
<xsl:template match="details/software/installed/updates"></xsl:template>
<xsl:template match="details/software/installed/comment"></xsl:template>
<xsl:template match="details/software/installed/date"></xsl:template>
<xsl:template match="details/software/installed/size"></xsl:template>
<xsl:template match="details/software/installed/uninstall"></xsl:template>
<xsl:template match="details/software/installed/repair"></xsl:template>
<xsl:template match="InfoButton">
<TD class="buymeta">
<table border="0" cellpadding="0" cellspacing="0" width="150">
<tr>
<td class="infol">
<xsl:element name="a">
<xsl:attribute name="href">javascript:window.external.OpenURL('<xsl:value-of select="Url"/>');</xsl:attribute>
<xsl:element name="img">
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
<xsl:attribute name="width">40</xsl:attribute>
<xsl:attribute name="height">42</xsl:attribute>
<xsl:attribute name="border">0</xsl:attribute>
<xsl:attribute name="alt"><xsl:value-of select="DisplayUrl"/></xsl:attribute>
</xsl:element>
</xsl:element>
</td>
<td class="buym" width="100%">
<xsl:element name="a">
<xsl:attribute name="href">javascript:window.external.OpenURL('<xsl:value-of select="Url"/>');</xsl:attribute>
<xsl:attribute name="class">buy</xsl:attribute>
<xsl:element name="div">
<xsl:attribute name="id">str_info_<xsl:number level="single" count="InfoButton" format="1" /></xsl:attribute>
.
</xsl:element>
</xsl:element>
</td>
<td class="buyr">
<xsl:element name="img">
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
<xsl:attribute name="width">10</xsl:attribute>
<xsl:attribute name="height">42</xsl:attribute>
</xsl:element>
</td>
</tr>
</table>
</TD>
</xsl:template>
<xsl:template match="DownloadButton">
<TD class="buymeta">
<table border="0" cellpadding="0" cellspacing="0" width="150">
<tr>
<td class="downloadl">
<xsl:element name="a">
<xsl:attribute name="href">javascript:window.external.OpenURL('<xsl:value-of select="Url"/>');</xsl:attribute>
<xsl:element name="img">
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
<xsl:attribute name="width">40</xsl:attribute>
<xsl:attribute name="height">42</xsl:attribute>
<xsl:attribute name="border">0</xsl:attribute>
</xsl:element>
</xsl:element>
</td>
<td class="buym" width="100%">
<xsl:element name="a">
<xsl:attribute name="href">javascript:window.external.OpenURL('<xsl:value-of select="Url"/>');</xsl:attribute>
<xsl:attribute name="class">buy</xsl:attribute>
<xsl:element name="div">
<xsl:attribute name="id">str_download_<xsl:number level="single" count="DownloadButton" format="1" /></xsl:attribute>
.
</xsl:element>
</xsl:element>
</td>
<td class="buyr">
<xsl:element name="img">
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
<xsl:attribute name="width">10</xsl:attribute>
<xsl:attribute name="height">42</xsl:attribute>
</xsl:element>
</td>
</tr>
</table>
</TD>
</xsl:template>
<xsl:template match="BuyButton">
<TD class="buymeta">
<table border="0" cellpadding="0" cellspacing="0" width="150">
<tr>
<td class="buyl">
<xsl:element name="a">
<xsl:attribute name="href">javascript:window.external.OpenURL('<xsl:value-of select="Url"/>');</xsl:attribute>
<xsl:element name="img">
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
<xsl:attribute name="width">40</xsl:attribute>
<xsl:attribute name="height">42</xsl:attribute>
<xsl:attribute name="border">0</xsl:attribute>
</xsl:element>
</xsl:element>
</td>
<td class="buym" width="100%" style="white-space: nowrap;">
<xsl:element name="a">
<xsl:attribute name="href">javascript:window.external.OpenURL('<xsl:value-of select="Url"/>');</xsl:attribute>
<xsl:attribute name="class">buy</xsl:attribute>
<xsl:element name="div">
<xsl:attribute name="id">str_buynow_<xsl:number level="single" count="BuyButton" format="1" /></xsl:attribute>
.
</xsl:element>
</xsl:element>
</td>
<td class="buyr">
<xsl:element name="img">
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
<xsl:attribute name="width">10</xsl:attribute>
<xsl:attribute name="height">42</xsl:attribute>
</xsl:element>
</td>
</tr>
</table>
<p style="margin-top:0px;">
<xsl:if test="DisplayName">
<font color="#000000">
<xsl:element name="div">
<xsl:attribute name="style">display: inline;</xsl:attribute>
<xsl:attribute name="id">str_buyfrom_<xsl:number level="single" count="BuyButton" format="1" /></xsl:attribute>
.
</xsl:element>
</font>
<xsl:value-of select="DisplayName"/>
</xsl:if>
</p>
</TD>
</xsl:template>
<xsl:variable name="sumbitupdate">
<table border="0" cellpadding="0" cellspacing="0" style="margin-left:20px;">
<tr>
<td class="subl">
<xsl:element name="img">
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
<xsl:attribute name="width">8</xsl:attribute>
<xsl:attribute name="height">21</xsl:attribute>
</xsl:element>
</td>
<td class="subm" style="white-space:nowrap;">
<xsl:element name="form">
<xsl:attribute name="id">uform</xsl:attribute>
<xsl:attribute name="method">POST</xsl:attribute>
<xsl:attribute name="target">_blank</xsl:attribute>
<xsl:attribute name="action">http://www.updatestar.com/submit/index.php</xsl:attribute>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">iname</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$iname"/></xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">ishortdescr</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$ishortdescr"/></xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">ipublisher</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$ipublisher"/></xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">icategory</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$icategory"/></xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">ilincense</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$ilincense"/></xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">iversion</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$iversion"/></xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">uversion</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$uversion"/></xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">idesciption</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$idesciption"/></xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">lang</xsl:attribute>
<xsl:attribute name="value"><xsl:copy-of select="$language"/></xsl:attribute>
</xsl:element>
<xsl:for-each select="details/software/installed/BuyButtons/BuyButton">
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">BuyButton_URL[]</xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="Url"/></xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">BuyButton_DisplayName[]</xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="DisplayName"/></xsl:attribute>
</xsl:element>
</xsl:for-each>
<xsl:for-each select="details/software/installed/DownloadButtons/DownloadButton">
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">DownloadButton_URL[]</xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="Url"/></xsl:attribute>
</xsl:element>
</xsl:for-each>
</xsl:element>
<xsl:element name="a">
<xsl:attribute name="href">javascript:window.external.OpenUpdateSend('<xsl:copy-of select="$iprodkey"/>');</xsl:attribute>
<xsl:attribute name="class">sublink</xsl:attribute>
<div id="str_sendupdate">.</div>
</xsl:element>
</td>
<td class="subr">
<xsl:element name="img">
<xsl:attribute name="src"><xsl:copy-of select="$stylepath"/>tbl\shim.gif</xsl:attribute>
<xsl:attribute name="width">8</xsl:attribute>
<xsl:attribute name="height">21</xsl:attribute>
</xsl:element>
</td>
</tr>
</table>
</xsl:variable>
</xsl:stylesheet>